package com.szly.phm.common.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.szly.phm.common.entity.dto.operation.CreateOperationDTO;
import com.szly.phm.common.entity.dto.operation.LogPageDTO;
import com.szly.phm.common.entity.dto.operation.OperationPageDTO;
import com.szly.phm.common.entity.dto.operation.UpdateOperationDTO;
import com.szly.phm.common.entity.dto.user.LoginUserDTO;
import com.szly.phm.common.entity.po.SysOperation;
import com.szly.phm.common.entity.result.RootResponse;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Administrator
 * @since 2021-09-19
 */
public interface ISysOperationService extends IService<SysOperation> {
    RootResponse createOperation(CreateOperationDTO createOperationDTO, LoginUserDTO loginUserDTO);

    RootResponse updateOperation(UpdateOperationDTO createOperationDTO, LoginUserDTO loginUserDTO);
    RootResponse queryOperationPageV1(OperationPageDTO operationPageDTO);
    RootResponse  deleteOperation(String id, LoginUserDTO loginUserDTO);

    RootResponse queryLoginPageV1(LogPageDTO pageDTO);
}
